package com.csht.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.csht.mapper.CshtLunboMapper;
import com.csht.model.CshtLunbo;
import com.csht.service.CshtLunboService;

/**
 * 轮播service
 * 
 * @author chenhuiyan
 *
 */
@Service
public class CshtLunboServiceImpl implements CshtLunboService {
	
	@Autowired
	private CshtLunboMapper cshtLunboMapper;

	/**
	 * 获取轮播图
	 */
	@Override
	public List<CshtLunbo> getLunbo() throws Exception {
		List<CshtLunbo> cshtLunboList = cshtLunboMapper.getLunbo();
		return cshtLunboList;
	}

}
